home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
7_10.lha
/
7_10
/
7_10pr1.h
< prev
next >
Wrap
Text File
|
1993-08-08
|
633b
|
18 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ class process private data
/ private:
// process state data
long t_result; // value to be returned
int t_priority; // process priority
unsigned long t_desiredtime; // for sleep()
process_states t_curstate; // current state of process
process *t_next; // for chaining processes
// data for the stack swapping
char *t_stack; // the place to save the stack
unsigned t_stacksize; // the amount of stack saved
jmp_buf t_jb; // for setjmp()/longjmp()